{template 'header'}
 
<script type="text/javascript">var module_id= {$moduleid},item_id={$itemid},content_id='content',img_max_width={$MOD[max_width]};</script>
<div class="wrap mb-10 mt-10  clearfix">
   <div class="cai_pos iconfont icon-ditudingwei"><span class="f_r"><a href="{$MODULE[2][linkurl]}{$DT[file_my]}?mid={$moduleid}&action=add&catid={$catid}" rel="nofollow"><img src="{DT_SKIN}image/btn_add.gif" width="81" height="20" alt="发布信息" style="margin-top:6px;"/></a></span>当前位置: <a href="{$MODULE[1][linkurl]}">首页</a> &raquo; <a href="{$MOD[linkurl]}">{$MOD[name]}</a> &raquo; {cat_pos($CAT, ' &raquo; ')} &raquo;</div>
    </div>



<div class="wrap">
	<!--企业导航-->
    <div class="idx-menu clearfix mt-15 qyd">
      <ul>
        <li class="idx-menu-logo"> 
        <a href="{userurl($username)}">
          <div class="menu-ewm-logo" id="menu-ewm-logo"><img src="{if $member[thumb]}{$member[thumb]}{else}{DT_SKIN}icon/no-logo.png{/if}" width="90" height="45" alt="" onerror="this.src='{DT_SKIN}icon/no-logo.png';"/></div>
          </a>
          <div class="menu-ewmlogo" style="left: 150.5px; top: 206px; display: none;">
            <ul>
              <li id="liewm"> <a href="{userurl($username)}" alt="{$company}形象图"><img src="{if $member[thumb]}{$member[thumb]}{else}{DT_SKIN}icon/no-logo2.png{/if}" width="180" height="180" alt="" onerror="this.src='{DT_SKIN}icon/no-logo.png';"/></a></li>
            </ul>
          </div>
          <script>$("#menu-ewm-logo").mouseover(function(){$(".menu-ewmlogo").css("left",$("#menu-ewm-logo").offset().left+10);$(".menu-ewmlogo").css("top",$("#menu-ewm-logo").offset().top+10);$(".menu-ewmlogo").show();});$("#menu-ewm-logo").mouseout(function(){$(".menu-ewmlogo").hide();});</script> 
        </li>
        <li class="idx-menu-comname">
     <div class="menu-comname"><a href="{userurl($username)}" title="{$company}商铺" target="_blank">{$company}</a></div>
          <a href="#">
          <div class="menu-ewm-img" id="menu-ewm-img"></div>
          </a>
          <div class="menu-ewm" style="left: 409.5px; top: 206px; display: none;">
            <ul>
              <li id="liewm"> <a href="{userurl($username)}" alt="{$company}手机版二维码"><img src="{DT_PATH}api/qrcode.png.php?auth={userurl($username)}" width="180" height="180" alt="{$company}二维码"></a></li>
              <li>扫一扫，进入手机网站</li>
            </ul>
          </div>
          <script>$("#menu-ewm-img").mouseover(function(){$(".menu-ewm").css("left",$("#menu-ewm-img").offset().left+10);$(".menu-ewm").css("top",$("#menu-ewm-img").offset().top+10);$(".menu-ewm").show();});$("#menu-ewm-img").mouseout(function(){$(".menu-ewm").hide();});</script>
         </li>
        <li class="idx-menu-ge"></li>
        <li class="idx-menu-list">
          <div class="menu-list-div">
            <ul>
              <li class="first"><a href="{userurl($username)}" target="_blank">商铺首页</a></li>
              <li><a href="{userurl($username, 'file=sell')}" target="_blank">产品库存</a></li>
              <li><a href="{userurl($username, 'file=honor')}" target="_blank">资质证书</a></li>
              <li><a href="{userurl($username, 'file=photo')}" target="_blank">企业相册</a></li>
              <li><a href="{userurl($username, 'file=link')}" target="_blank">企业友链</a></li>
              <li><a href="{userurl($username, 'file=introduce')}" target="_blank">企业介绍</a></li>
              <li><a href="{userurl($username, 'file=contact')}" target="_blank">联系我们</a></li>
            </ul>
          </div>
        </li>
      </ul>
    </div>

    <!--企业导航-->
    <div class="container fl">
      <div class="proshow clearfix mt-15">
      	  <div class="proImg fl">
          	<div id="mid_pos"></div>
         	 <div id="mid_div" onmouseover="SAlbum();" onmouseout="HAlbum();" onclick="PAlbum(Dd('mid_pic'));"> <img src="{$albums[0]}" width="280" height="280" id="mid_pic"/><span id="zoomer"></span> </div>
              <ul class="pro clearfix mt-15">
                {loop $thumbs $k $v}
                <li><img src="{$v}" width="60" height="60" onmouseover="if(this.src.indexOf('nopic60.gif')==-1)Album({$k}, '{$albums[$k]}');" class="{if $k}ab_im{else}ab_on{/if}" id="t_{$k}"/></li>
                {/loop}
                <li onclick="PAlbum(Dd('mid_pic'));"><img src="{DT_SKIN}icon/zoom.png" width="62" height="64"/></li>
              </ul>
          	<div class="clear"> </div>
          <!-- Baidu Button BEGIN -->
       		 <div class="bdsharebuttonbox mt-15 bdshare-button-style0-16"><a href="#" class="bds_more" data-cmd="more"></a><a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a><a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a><a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a><a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网"></a><a href="#" class="bds_copy" data-cmd="copy" title="分享到复制网址"></a><a href="#" class="bds_print" data-cmd="print" title="分享到打印"></a><a href="#" class="bds_sqq" data-cmd="sqq" title="分享到QQ好友"></a><a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a><a href="#" class="bds_tieba" data-cmd="tieba" title="分享到百度贴吧"></a></div>
			<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"1","bdSize":"24"},"share":{},"image":{"viewList":["qzone","tsina","tqq","renren","copy","print","sqq","weixin","tieba"],"viewText":"分享到：","viewSize":"16"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["qzone","tsina","tqq","renren","copy","print","sqq","weixin","tieba"]}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];
</script>
          <!-- Baidu Button END --> 
        </div>
          <div class="proInfo cldl pr fr">
          <div class="shouc shangji"><a href="javascript:SendFav();" target="_blank">加入收藏</a></div>
          <div class="jubao maijia"><a target="_blank" href="javascript:SendReport();">举报卖家</a></div>
          <div id="big_div" style="display:none;"><img src="" id="big_pic"/></div>
          <h1 class="title" id="title">{dsubstr($title,40,…)}</h1>
          <dl>
            <dt>产品价格：</dt>
            <dd class="f_b orange">{if $price>0}{$price}{$DT[money_unit]}/{$unit}{else}面议{/if}</dd>
            <dt>所属行业：</dt>
            <dd>{$CAT[catname]}</dd>
            <dt>关 键 词：</dt>
            <dd>{$head_keywords}</dd>
            <dt>浏览次数：</dt>
            <dd><span id="hits">{$hits}</span>次</dd>
            <dt>发布时间：</dt>
            <dd>{$editdate}{if $expired} <span class="f_red">[已过期]</span>{/if} <span class="djs">
<img src="{DT_SKIN}icon/clock-mini.png" width="23" height="20" align="absmiddle"/> 
{if $totime} <strong>产品供应结束倒计时: <span id="timer"></span></strong> 
              <script type="text/javascript">  
function TimeTo(dd){  
    var t = new Date(dd),//取得指定时间的总毫秒数  
        n = new Date().getTime(),//取得当前毫秒数  
        c = t - n;//得到时间差  
    if(c<=0){//如果差小于等于0  也就是过期或者正好过期，则推出程序  
        document.getElementById('timer').innerHTML ='活动已经结束';  
        clearInterval(window['ttt']);//清除计时器  
        return;//结束执行  
    }  
    var ds = 60*60*24*1000,//一天共多少毫秒  
        d = parseInt(c/ds),//总毫秒除以一天的毫秒 得到相差的天数  
        h = parseInt((c-d*ds)/(3600*1000)),//然后取完天数之后的余下的毫秒数再除以每小时的毫秒数得到小时  
        m = parseInt((c - d*ds - h*3600*1000)/(60*1000)),//减去天数和小时数的毫秒数剩下的毫秒，再除以每分钟的毫秒数，得到分钟数  
        s = parseInt((c-d*ds-h*3600*1000-m*60*1000)/1000);//得到最后剩下的毫秒数除以1000 就是秒数，再剩下的毫秒自动忽略即可  
        document.getElementById('timer').innerHTML = ' <b>'+d+'</b> 天 <b>'+h+'</b></b> : <b>'+m+'</b> : <b class="ss">'+s+'</b>';//最后这句讲定义好的显示 更新到 ID为 timer的 div中  
}  
(function(){  
    window['ttt']=setInterval(function(){  
    TimeTo('{date('Y/m/d', $totime)} 23:59:59');//定义倒计时的结束时间，注意格式  
    },1000);//定义计时器，每隔1000毫秒 也就是1秒 计算并更新 div的显示  
})();  
</script> 
              {else} <strong>永不过期的信息</strong> {/if}</span> </dd>
          </dl>
          {if $username && !$expired}
          <ul class="clearfix mt-15 goo">
            <li class="too"><i class="btn-qq02"></i><a href="{$MODULE[2][linkurl]}chat.php?touser={$item[username]}&mid={$moduleid}&itemid={$itemid}" target="_blank"><b>在线洽谈</b></a></li>
            <li class="too"><i class="btn-tel02"></i><a target="_blank" href="{$member[linkurl]}"><b>联系我们</b></a></li>
             {if SELL_ORDER && $price>0 && $minamount>0 && $amount>0 && $unit}
            <li class="btn-go02"> <a onclick="Go('{$MOD[linkurl]}{rewrite('buy.php?itemid='.$itemid)}');" href="###"><img src="{DT_SKIN}icon/goo.png" width="27" height="27" align="absmiddle"/><b>加入购物车</b></a></li>
            {else}
            <li class="btn-msg02"> <a onclick="Go('{$MOD[linkurl]}{rewrite('inquiry.php?itemid='.$itemid)}');" href="###"><b>在线询价</b></a></li>
            {/if}
          </ul>
          <div class="attribute">
            <ul id="contact">
              {if $user_status == 3}
              {if $member}
              <li><span>公司名称：</span><a href="{$member[linkurl]}" target="_blank">{$member[company]}</a></li>
              <li><span>联 系 人：</span>{$member[truename]}({gender($member[gender])})  {$member[career]}</li>
              {if $member[mobile]}
              <li><span>联系手机：</span>{$member[mobile]}</li>
              {/if}
              {if $member[telephone]}
              <li><span>联系固话：</span>{$member[telephone]}</li>
              {/if}{if $member[address]}
              <li><span>联系地址：</span>{$member[address]}</li>
              {/if}
              <li><span>商铺网址：</span><a href="{$member[linkurl]}" target="_blank">{$member[linkurl]}</a></li>
              <li><span>官方网址：</span>{if $member[homepage]}<a href="{$member[homepage]}" target="_blank">{$member[homepage]}</a>{else}<a href="{$member[linkurl]}" target="_blank">{$member[linkurl]}</a>{/if}</li>
              {/if}
              {elseif $user_status == 2}
              <div style="padding:3px;border:#40B3FF 1px solid;background:#E5F5FF;">查看该信息联系方式需支付{$name} <strong class="f_red">{$fee}</strong> {$unit}</div>
              {elseif $user_status == 1}
              <div style="padding:3px;border:#FFC600 1px solid;background:#FFFEBF;">您的会员级别没有查看联系方式的权限或者请登录</div>
              {elseif $user_status == 0}
              <li><b style="padding:1px;border:#FFC600 1px solid;background:#FFFEBF;"> 该企业联系方式登录后可见(<a href="{$MODULE[2][linkurl]}">请登录</a>)</b></li>
              {else} <br/>
              <br/>
              <br/>
              <center>
                <img src="{DT_SKIN}image/load.gif"/>
              </center>
              <br/>
              <br/>
              <br/>
              {/if}
            </ul>
          </div>
          {/if} 
        </div>
          <div class="state mt-15"> 询盘时请说明在【{$DT[sitename]}】看到的该产品信息！<br>
          负责声明：所展示的信息由供货商提供，内容的真实性、准确性和合法性由发布会员负责。【{$DT[sitename]}】不承担任何责任。<br>
          友情提醒：为了您的交易安全，请尽量使用货到付款方式！如需要投诉，可进入"<a href="{DT_PATH}help" target="_blank"><strong class="red">消费者防骗指南</strong></a>"了解投诉及处理流程，我们将竭诚为您服务！</div>
      </div>
      <div class=" box01 mt-15">
        <div class="header">
          <h3>产品详细说明</h3>
        </div>
        <div class="prodetail">
          <ul class="clearfix infoList">
            {if $brand}
            <li><span>品牌：</span> {$brand}</li>
            {/if}
            {if $n1 && $v1}
            <li><span>{$n1}：</span> {$v1}</li>
            {/if}
            {if $n2 && $v2}
            <li><span>{$n2}：</span> {$v2}</li>
            {/if}
            {if $n3 && $v3}
            <li><span>{$n3}：</span> {$v3}</li>
            {/if}
            <li><span>起订：</span>{if $minamount}{$minamount} {$unit}{/if}</li>
            <li><span>供货总量：</span>{if $amount}{$amount} {$unit}{/if}</li>
            <li><span>发货期限：</span> 自买家付款之日起 <span class="f_b f_orange">{if $days}{$days}{/if}</span> 天内发货</li>
            <li><span>所在地：</span> {area_pos($areaid, ' ')}</li>
            <li><span>有效期至：</span> {if $todate}{$todate}{else}长期有效{/if}{if $expired} <span class="f_red">[已过期]</span>{/if}</li>
          </ul>
          <div class="box_body1" style="padding:0;"> {if $CP}{template 'property', 'chip'}{/if}
            <div id="content" style="overflow:hidden">{$content}</div>
            
            
            
          </div>
        </div>
        
        <div class="mt15">  
        	{if in_array(6, explode(',', $EXT['comment_module']))}
         <div class="header">  <h3 class="clearfix">相关评论</h3>
          <a class="more" href="{$EXT[comment_url]}{rewrite('index.php?mid=6&itemid='.$itemid)}">共
            <span1 id="comment_count">0</span1> 条 [查看全部]</a></div>
          {template 'comment', 'chip'}
          
          
          
          {/if}
        
        </div>
     
      <div class="box01 top-reconmmend">
        <div class="header"><a class="more" target="_blank" href="{$MODULE[2][linkurl]}{$DT[file_login]}"> 我也要出现在这里</a>
          <h3>热门推荐</h3>
        </div>
        <!--{tag("moduleid=$moduleid&length=20&condition=status=3 and thumb<>'' and username='$username'&pagesize=5&order=edittime desc&width=160&height=160&template=cainiao-sell-hot")}--> 
      </div> 
     </div>
     
  	</div>
   
    <div class="sideBar fr">
      <div class="box01 honor mt-15" id="contact">
        <div class="header">
          <h3>诚信档案</h3>
        </div>
        {if $user_status == 3}
        {if $member}
        <ul class="company-name">
          <li class="f14 red"> <a href="{$member[linkurl]}" title="{$member[company]}
{$member[mode]}" alt="{$member[company]}" target="_blank"> {$member[company]}</a></li>
          <li class="year"> {if $groupid == 7}<i class="mytvip"></i><span class="fl">晋商通会员</span>{elseif $groupid == 6}
          <i class="vip"></i><span class="fl">免费企业</span>{elseif $groupid == 5}<i class="vip"></i><span class="fl">个人</span>{elseif $groupid == 1}<i class="vip"></i><span class="fl">个人</span>{/if} 第 {vip_year($member[fromtime])} 年</li>
          <li class="mt-5"><span class="blue"><a target="_blank" href="{$member[linkurl]}">进入店铺</a></span>
          <span class="ml-10">|</span><span class="blue ml-10">
          <a target="_blank" href="{$MODULE[2][linkurl]}message.php?action=send&touser={$member[username]}">给商家留言</a></span> </li>
        </ul>
        {/if}
        <ul class="company-honor">
          {if $member}
          <li class="mt15">会员级别：<span class="red"><b>{if $groupid == 7}晋商通会员{elseif $groupid == 6}免费企业{elseif $groupid == 5}个人{elseif $groupid == 1}个人{/if}</b></span> [第{vip_year($member[fromtime])}年]  指数:  {$member[vip]} 级</li>
          {/if}
          {if $member}
          <li>店铺等级：<img src="{DT_SKIN}image/vip-{$member[vip]}.gif" align="absmiddle"/></li>
          {/if}
          {if $member}
          <li>旺铺店长：{$username}</li>
          {/if}
          {if $member[deposit]}
          <li>服务保障：{if ($member[deposit])<1}<span class="f_green"><strong>暂未签署消保协议</strong></span>{else}<img src="{DT_SKIN}icon/baoz1.png" width="16" height="12" align="absmiddle" title="该店铺已签署消费者保障协议"/>已缴纳 <span class="red"><strong>{$member[deposit]}</strong> {$DT[money_unit]}</span> 保证金{/if}</li>
          {/if}
          <li>（<span class="red"><a href="{DT_PATH}help"  target="_blank">什么是消费者保障协议</a></span>）</li>
          <li>认证类型：<span class="red">{if $member[vcompany]} <img src="{$MODULE[2][linkurl]}image/v_company.gif" width="16" height="16" align="absmiddle" title="通过工商认证"/>{/if}
            {if $member[vtruename]} <img src="{$MODULE[2][linkurl]}image/v_truename.gif" width="16" height="16" align="absmiddle" title="通过实名认证"/>{/if}
            {if $member[vbank]} <img src="{$MODULE[2][linkurl]}image/v_bank.gif" width="16" height="16" align="absmiddle" title="通过银行帐号认证"/>{/if}
            {if $member[vmobile]} <img src="{$MODULE[2][linkurl]}image/v_mobile.gif" width="16" height="16" align="absmiddle" title="通过手机认证"/>{/if}
            {if $member[vemail]} <img src="{$MODULE[2][linkurl]}image/v_email.gif" width="16" height="16" align="absmiddle" title="通过邮件认证"/>{/if} </span></li>
          <li>身份认证：<span class="green">{if $member[validated]} <img src="{DT_SKIN}image/check_right.gif" align="absmiddle"/> 通过{$member[validator]}认证{/if} <a href="{userurl($member[username], 'file=credit')}">[诚信档案]</a></span></li>
          <li>状态：[{if online($member[userid])==1}<font class="f_red">在线</font>{else}<font class="f_gray">离线</font>{/if}]  <a href="{$MODULE[2][linkurl]}friend.php?action=add&username={$member[username]}" rel="nofollow">[加为商友]</a>   <a href="{$MODULE[2][linkurl]}message.php?action=send&touser={$member[username]}" rel="nofollow">[发送信件]</a> </li>
          {if !$username}
          <li><strong class="f_red">注意</strong>:发布人未在本站注册，建议优先选择<a href="{$MODULE[2][linkurl]}grade.php"><strong>{VIP}会员</strong></a></li>
          {/if}
          <li class="company-code"> <img src="{DT_PATH}api/qrcode.png.php?auth={$member[linkurl]}" width="130" height="130">
            <p class="gray">扫一扫用手机关注本企业</p>
          </li>
        </ul>
        {elseif $user_status == 2}
        <div style="padding:3px;border:#40B3FF 1px solid;background:#E5F5FF;">查看该信息联系方式需支付{$name} <strong class="f_red">{$fee}</strong> {$unit}</div>
        {elseif $user_status == 1}
        <div style="padding:3px;border:#FFC600 1px solid;background:#FFFEBF;">您的会员级别没有查看联系方式的权限或者请登录</div>
        {elseif $user_status == 0}
        <ul class="company-name">
          <li><b style="padding:1px;border:#FFC600 1px solid;background:#FFFEBF;"> 该企业联系方式登录后可见(<a href="{$MODULE[2][linkurl]}">请登录</a>)</b></li>
          <br/>
          <br/>
          <br/>
        </ul>
        {else} <br/>
        <br/>
        <br/>
        <center>
          <img src="{DT_SKIN}image/load.gif"/>
        </center>
        <br/>
        <br/>
        <br/>
        {/if} 
      </div>
      <div class="mt-15"> <a>{ad(28)}</a></div>
      <div class="recommend box01 mt-15">
        <div class="header">
          <h3>相关热词推荐</h3>
        </div>
        <!--{tag("moduleid=$searchid&table=keyword&condition=moduleid=$searchid and status=3&pagesize=10&order=total_search desc&template=cainiao-hot-kw")}--> 
      </div>
      <div class="news-pro fl mt15" style="overflow:hidden; ">
        <p class="com-tit f15">最新产品</p>
        <!--{tag("moduleid=$moduleid&length=20&condition=status=3 and thumb<>''&pagesize=8&order=edittime desc&template=cainiao-sell-show")}--> 
      </div>
    </div>

 </div>
 
<div class="m">
	<br/>
	<center>
	[ <a href="{$MOD[linkurl]}search.php" rel="nofollow">{$MOD[name]}搜索</a> ]&nbsp;
	[ <a href="javascript:SendFav();">加入收藏</a> ]&nbsp;
	[ <a href="javascript:SendPage();">告诉好友</a> ]&nbsp;
	[ <a href="javascript:Print();">打印本文</a> ]&nbsp;
	[ <a href="javascript:SendReport();">违规举报</a> ]&nbsp;
	[ <a href="javascript:window.close()">关闭窗口</a> ]
	</center>
	<br/>
</div>

 

<script type="text/javascript" src="{DT_STATIC}file/script/album.js"></script>
{if $content}<script type="text/javascript" src="{DT_STATIC}file/script/content.js"></script>{/if}

<div class="po_telW" style="position:fixed; left:0; bottom:0;">
  <div class="po_tel">
    <p><strong>公司名称：</strong><span><a href="{$member[linkurl]}" target="_blank">{$member[company]}</a></span></p>
    <p><strong>移动电话：</strong><span>{$member[mobile]}</span>（{area_pos($areaid, ' ')}）</p>
    <p class="alitalk cf"> <strong>在线联系：</strong> <a href="http://wpa.qq.com/msgrd?v=3&uin={$member[qq]}&site={$member[company]}在线客服QQ&menu=yes" target="_blank" rel="nofollow"><img src="{DT_SKIN}icon/qq-ok.png" title="点击QQ交谈/留言，QQ：{$member[qq]}，信息厂商：{$member[company]}" alt="" align="absmiddle" onerror="this.src=DTPath+DTskin+'images/sell/qq-no.png';" onload="if(this.width==80){this.src=DTPath+DTskin+'images/sell/qq-no.png';}else if(this.width==80){this.src=DTPath+DTskin+'images/sell/qq-ok.png';}"></a> </p>
    <p class="fabu"><a href="{$MODULE[2][linkurl]}{$DT[file_my]}" rel="nofollow" target="_blank">免费发布信息</a></p>
  </div>
</div>


{template 'footer'}